package com.saint.farmshop.Entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import org.springframework.data.annotation.Id;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 动态信息
 *
 * @author Saint
 * @date 2022/05/30
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
public class Article implements Serializable {

    @Id
    private String id;

    private String openId;

    private String content;

    private String productionId;

    private LocalDateTime updateTime;

    private Integer status;

    private String img;

    public Article(String id) {
        this.id = id;
    }
}

